package com.schoolcloud.share.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Data;

/**
 * 视频标签多对多关联
 * @TableName video_tags
 */
@TableName(value ="video_tags")
@Data
public class VideoTags implements Serializable {
    /**
     * 关联ID
     */
    @TableId(value = "video_tag_id", type = IdType.AUTO)
    private Integer videoTagId;

    /**
     * 视频ID
     */
    @TableField(value = "video_id")
    private Integer videoId;

    /**
     * 标签ID
     */
    @TableField(value = "tag_id")
    private Integer tagId;
    @Serial
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
